<template>
<div>
    <h1 class="text-center"> 模拟安防测试 </h1>
    <ul class="nav nav-tabs">
        <router-link active-class="active" to="/" tag="li"><a>模拟测试设备 </a></router-link>
        <router-link active-class="active" to="/genKey" tag="li"><a>产生注册码 </a></router-link>
    </ul>
    <keep-alive class="tab-content" >
        <router-view class="tab-pane" > </router-view>
    </keep-alive>
</div>
</template>
<script>
import genKey from './genKey'
import device from './test_device'
export default { 
    name: 'app',
    components: { 
        genKey,
        device
    }
}
</script>
<style>
h1{
    text-align: center;
}
</style>
